package spring;

/**
 * User: wlai
 * Date: 3/17/15
 * Time: 15:55 PM
 */
public class MyBean implements IBean {
    private String name;

    public MyBean() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void sayHello() {
        System.out.println("Hello from " + getName());
    }


}
